:root {
    --heading-font-family: "VisbyRound";
}

@font-face {
    font-family: 'VisbyRound';
    src: url('/fonts/VisbyRoundCF/Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'VisbyRound';
    src: url('/fonts/VisbyRoundCF/Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'VisbyRound';
    src: url('/fonts/VisbyRoundCF/Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'VisbyRound';
    src: url('/fonts/VisbyRoundCF/ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

.testimonials-section img,
.testimonials-section .card {
    border-radius: 3rem;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.testimonials-section>.container {
    position: inherit;
    z-index: 1;
}

.testimonials-section>.container img {
    height: 50%;
    object-fit: cover;
}

.testimonials-section>img {
    object-fit: cover;
}

.color-success {
    color: #0A9035;
}

.about-us .position-absolute {
    background: #0A9035;
}

.about-us .position-absolute {
    font-size: 45px;
}

.team-section .color-success {
    font-size: 50px;
}

@media (min-width:1200px) {
    .about-us .position-absolute {
        font-size: 45px;
    }

    .team-section .color-success {
        font-size: 90px;
    }
}

.banner-wrapper {
    position: relative;
    margin-bottom: 35rem;
}

.about-us {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

@media (min-width:1600px) {
    .about-us {
        top: 140%;
    }
}


@media (min-width: 768px) {
    .w-md-75 {
        width: 75% !important;
    }
}

@media (min-width: 992px) {
    .w-lg-75 {
        width: 75% !important;
    }
}

.news-events-section .news .news-item>div {
    max-width: 540px;
    max-height: 7.5rem;
    height: 7.5rem;
}

.news-events-section .news .news-item>div .img-wrapper {
    width: 6rem;
    height: 6rem;
}

@media (min-width:1200px) {
    .banner-wrapper {
        margin-bottom: 45rem;
    }

    .news-events-section .news .news-item>div {
        max-width: 540px;
        max-height: 7.5rem;
        height: 7.5rem;
    }

    .news-events-section .news .news-item>div .img-wrapper {
        width: 6rem;
        height: 6rem;
    }
}

@media (max-width:991px) {
    .news-events-section .news .news-item>div {
        max-width: 100%;
        max-height: 7.5rem;
        height: 7.5rem;
    }

    .about-us .position-absolute,
    .about-us .position-relative {
        position: unset !important;
    }

    .about-us {
        top: 180%;
    }

    .banner-wrapper {
        margin-bottom: 40rem;
    }
}

@media (max-width:800px) {
    .about-us {
        position: unset;
        transform: unset;
    }

    .banner-wrapper>div {
        margin-bottom: 2rem;
    }

    .banner-wrapper {
        margin-bottom: 0rem;
    }
}

/* ===== News ===== */
.news {
    padding: 56px 0 72px;
    background: #F7F7F9;
}

.news .section-title {
    text-align: center;
    margin-bottom: 28px;
}

.news-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.news-card .thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card .body {
    padding: 16px 18px;
}

.news-meta {
    font-size: 12px;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.news-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.news-list .item {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.news-list .item+.item {
    margin-top: 12px;
}

.news-list img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1F2937;
    margin-right: 8px;
}
